/* register.css - 注册页面专用样式 */
body {
    margin: 0;
    padding: 0;
    background: url('../images/register-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.register-container {
    width: 420px;
    margin: 10% auto;
    padding: 35px 45px;
    background-color: rgba(250, 250, 250, 0.95);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}

button:hover {
    background-color: #218838;
}

.error-message {
    text-align: center;
    color: red;
    margin-top: 10px;
}

a.link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

a.link:hover {
    text-decoration: underline;
}
